package com.gzh.spring.config;

import org.springframework.beans.BeansException;
import org.springframework.beans.factory.config.BeanFactoryPostProcessor;
import org.springframework.beans.factory.config.ConfigurableListableBeanFactory;

/**
 * @Description:
 * @package: com.gzh.spring.config
 * @Auther: Pf.Guo
 * @Date: Created in 2021/1/21 15:04
 */
public class TestBeanFactoryPostProcessor implements BeanFactoryPostProcessor {

    public TestBeanFactoryPostProcessor() {
        System.out.println("TestBeanFactoryPostProcessor===无参构造");
    }

    @Override
    public void postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory) throws BeansException {
        System.out.println("TestBeanFactoryPostProcessor===postProcessBeanFactory执行");
    }
}
